
from django.conf.urls import url, include
from . import views

urlpatterns = [
    # 子路由---qq/login
    url(r'^qq/login/$', views.QQAuthURLView.as_view(), name='qqlogin'),
    url(r'^oauth_callback/$', views.QQAuthUserView.as_view()),


    url(r'^sina/login/$', views.SinaLoginView.as_view(), name='sinalogin'),
    url(r'^sina_callback/', views.SinaAuthUserView.as_view()),

]
